home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw304.zip / NOSGAS.ZIP / PUBLIC / NOSVIEW / IFCONFIG < prev    next >
Text File  |  1992-12-31  |  7KB  |  166 lines

  1. ========                                            NOSview [301]
  2. ifconfig
  3. ========
  4.  
  5. _________________________________________________________________
  6. ifconfig
  7. _________________________________________________________________
  8. Display a list of all attached interfaces, with a short status
  9. report for each.
  10.  
  11. >> Example of ifconfig display:
  12.  
  13. ................................................................
  14. :netrom     IP addr ns9bob MTU 236 Link encap NETROM           :
  15. :           Link addr NS9BOB-5                                 :
  16. :           flags 1 trace 0x0 netmask 0x00000000               :
  17. :                                     broadcast 0.0.0.0        :
  18. :           sent: ip 0 tot 0 idle 0:00:00:07                   :
  19. :           recv: ip 0 tot 0 idle 0:00:00:07                   :
  20. :tnc0       IP addr ns9bob MTU 256 Link encap AX25             :
  21. :           Link addr NS9BOB-5                                 :
  22. :           flags 1 trace 0x0 netmask 0x44ffffff broadcast uk  :
  23. :           sent: ip 2 tot 9 idle 0:00:00:06                   :
  24. :           recv: ip 0 tot 0 idle 0:00:00:07                   :
  25. :loopback   IP addr loopback MTU 65535 Link encap None         :
  26. :           flags 0 trace 0x0 netmask 0xffffffff               :
  27. :                                     broadcast 255.255.255.255:
  28. :           sent: ip 0 tot 0 idle 0:00:00:08                   :
  29. :           recv: ip 0 tot 0 idle 0:00:00:08                   :
  30. :encap      IP addr 0.0.0.0 MTU 65535 Link encap None          :
  31. :           flags 0 trace 0x0 netmask 0xffffffff               :
  32. :                                     broadcast 255.255.255.255:
  33. :           sent: ip 0 tot 0 idle 0:00:00:08                   :
  34. :           recv: ip 0 tot 0 idle 0:00:00:08                   :
  35. :..............................................................:
  36.  
  37.  
  38. _________________________________________________________________
  39. ifconfig <interface>
  40. _________________________________________________________________
  41. Display an extended status report of the interface.
  42.  
  43. >> Example:  The command 'ifconfig tnc0' produces a display of
  44. the form:
  45.  
  46. ................................................................
  47. :tnc0       IP addr ns9bob MTU 256 Link encap AX25             :
  48. :           Link addr NS9BOB-5                                 :
  49. :           flags 1 trace 0x0 netmask 0x44ffffff broadcast uk  :
  50. :           sent: ip 2 tot 9 idle 0:00:00:48                   :
  51. :           recv: ip 0 tot 0 idle 0:00:00:49                   :
  52. :  IN:    0 pkts                                               :
  53. :  OUT:   9 pkts                                               :
  54. :..............................................................:
  55.  
  56.  
  57. _________________________________________________________________
  58. ifconfig <interface> broadcast <broadcast_ip_address>
  59. _________________________________________________________________
  60. Set the broadcast address for the interface.
  61.  
  62. The <broadcast_ip_address> takes the form of an IP address with
  63. 1's in the host part of the address.  This is related to the
  64. 'netmask' sub-command described below.
  65.  
  66. See also the 'arp' command.
  67.  
  68. >> Examples:  ifconfig tnc0 broadcast 44.255.255.255
  69.               ifconfig tnc0 broadcast uk
  70.                              (where uk.ampr.org is in DOMAIN.TXT)
  71.  
  72.  
  73. _________________________________________________________________
  74. ifconfig <interface> description ["<description>"]
  75. _________________________________________________________________
  76. Set the interface description.  If no string is supplied, the
  77. current description is cleared.  The description is displayed
  78. with the 'ifconfig <interface>' command and with mailbox
  79. commands.
  80.  
  81. >> Example:  ifconfig tnc0 description "144.625 MHz port"
  82.  
  83.  
  84. _________________________________________________________________
  85. ifconfig <interface> encapsulation
  86.                          none|ax25|encap|ether|slip|netrom|ppp
  87. _________________________________________________________________
  88. Sets the encapsulation for <interface>.
  89.  
  90. The 'encap' option is used when it is required to encapsulate
  91. AMPR packets within another IP datagram for transmission over
  92. other networks (for example, over the "real" Internet).  This is
  93. necessary because the AMPRNET has a flat namespace (all names are
  94. in the single ".ampr.org" domain), and this causes problems with
  95. Internet.
  96.  
  97. >> Example:  ifconfig tnc0 encapsulation ax25
  98.  
  99.  
  100. _________________________________________________________________
  101. ifconfig <interface> forward <forward-interface>
  102. _________________________________________________________________
  103. Set a forwarding interface for multiple channel interfaces.  When
  104. forwarding is defined, all output destined for <interface> is
  105. redirected to <forward-interface>.
  106.  
  107. To remove forwarding, set <forward-interface> to <interface>.
  108.  
  109. >> Example:  ifconfig tnc0 forward sl0
  110.  
  111.  
  112. _________________________________________________________________
  113. ifconfig <interface> ipaddress <ipaddress>
  114. _________________________________________________________________
  115. Set the IP address for this interface.  For hosts with only one
  116. interface, the interface address is usually the same as the host
  117. address.
  118.  
  119. It may be necessary to set an IP address when a system acts as a
  120. gateway to the Internet; for example, via an Ethernet adapter.
  121. (Note that 44.x.x.x addresses are NOT connected to the Internet).
  122.  
  123. See also the 'hostname' and 'ip address' commands.
  124.  
  125. >> Example:  ifconfig en0 ipaddress 123.45.6.7
  126.  
  127.  
  128. _________________________________________________________________
  129. ifconfig <interface> linkaddress <callsign> | <ether_address>
  130. _________________________________________________________________
  131. Set the hardware dependent address for this interface.
  132.  
  133. >> Examples:  ifconfig tnc0 linkaddress NS9BOB-5
  134.               ifconfig en0 linkaddress 00:11:22:33:44:55
  135.  
  136.  
  137. _________________________________________________________________
  138. ifconfig <interface> mtu <mtu>
  139. _________________________________________________________________
  140. Set the Maximum Transmission Unit (MTU) in bytes for this
  141. interface.
  142.  
  143. See the 'attach' and 'tcp' commands for more information on MTU
  144. settings.
  145.  
  146. >> Example:  ifconfig tnc0 mtu 1588
  147.  
  148.  
  149. _________________________________________________________________
  150. ifconfig <interface> netmask <hex_net_mask>
  151. _________________________________________________________________
  152. Set the sub-net mask for this interface.  The <hex_net_mask>
  153. takes the form of an IP address with 1's in the network and
  154. subnet parts of the address, and 0's in the host part of the
  155. address, expressed as a hexadecimal number.  This is related to
  156. the 'broadcast' sub-command.  See also the 'route' command.
  157.  
  158. >> Example: ifconfig tnc0 netmask 0xff000000
  159.                          (for a Class A network such as 44.x.x.x)
  160.  
  161.  
  162. _________________________________________________________________
  163. ifconfig <interface> rxbuf <buffer_size>
  164. _________________________________________________________________
  165. Set the receive buffer size.
  166.